home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
pcbpag31.zip
/
PCBPAGE.DOC
< prev
next >
Wrap
Text File
|
1991-12-07
|
12KB
|
362 lines
PCBPage Door
A Seamless Page Door Interface for PCBoard 14.5a
A Good Page Door for all BBS Systems.
Version 3.1, December 7, 1991
By: Lance Williams
P. O. Box 266
Camden, NY 13316
BBS: Kadet PCBoard
(315) 245-3815
USR Dual Std. HST/V.32
PCBPage Door Page 1
License Agreement
The PCBPage Door ("The Software") is COPYRIGHT 1991 by Lance
Williams, ALL RIGHTS RESERVED.
You may not engage in, nor permit third parties to engage
in, any of the following :
A) Making alterations of any kind in the software.
B) ATTEMPTING TO DISASSEMBLE, DECOMPILE, OR REVERSE
ENGINEER THE SOFTWARE OR THE FILES IT GENERATES IN ANY
WAY.
C) Granting sub-licenses, lease or other rights in the
software to others.
D) This release is SHAREWARE, if you continue to use this
package for more than 3 weeks, you must register it with
the author.
The author of the software grants you a license to use this
software as long as you meet the above conditions. Any violation of
the above conditions will result in the termination of your license to
use this software. Upon termination of this license for any reason,
you must stop using the software and destroy all copies of it in your
possession immediately. In addition, the author reserves the right to
cancel your license to use this software at any time for any reason
that he sees fit.
The author of this software is not liable for damages suffered
as a result of the improper use, proper use, or inability to use this
software. This type of disclaimer is prohibited by law in some states,
and is therefore void in those states.
General Program Characteristics:
The PCBPage door is a door your user s can use to get in touch
with you rather than through the normal "O"perator Page command. It
features Seamless operations with PCBoard 14.5a, support for multiple
BBS systems, logging of activity to it's own log file, and to the
caller's log file for the proper node in PCB 14.x systems.
When a User opens the door, he will be prompted as to whether
he really wanted to page the sysop. Then asked WHY the page is
requested. You will be displayed the reason when paged. You can
configure the times you are available for paging each day of the week
on an hour by hour basis. This should save you a lot of time not
answering worthless pages.....
By: Lance Williams, Kadet PCBoard, (315) 245-3815, USR DS HST/V.32
PCBPage Door Page 2
Simple Documentation for PCBPage
Since this is a simple door, I'm not going into great detail on the
setup, if you have any problems, contact me through the PCBHINTS
Conference on RIME/MetroLink, or call my BBS Directly. The door is
simple to set up, and you should not have a problem.
Configuration File:
Most of the set-up is in the configuration file, which has it's
own help lines. But here's a quick run-thru:
Line 1: INTERRUPT or BIOS, Use BIOS only if INTERRUPT fails to work
Line 2: BBS Name
Line 3: Door Registration Number (See below for registration info.)
Lines 4-10: Hours allowed to page, Sunday -> Saturday. (See .CFG file)
Line 11: Security levels to override "N" setting in 6-13 above.
Everything after line #11 is ignored, so you can leave it in
for future reference.
Other things you need to know:
PCBPage version 2.0+ has been completely re-written in TP 6.0,
and fully supports multitasking systems. PCBPage needs a minimum of
115K of free memory to load.
Language Text Files and Multilingual Support:
PCBPage 3.0+ now supports multilingual operations, and now uses
a separate TEXT file, like the PCBTEXT file in PCBoard. This file is
just a straight ASCII file you can edit with any ASCII Editor. The
file requires 4 lines as follows:
Line 1: Prompt for "Do you want to page the sysop?" line.
Line 2: Prompt for "Why are you paging the sysop?" line.
Line 3: Prompt for "Do you wish to force a page?" line.
Line 4: Prompt shown when Chat-Mode is initiated by you.
The door will support multilingual files using the same
filename extension as the PCBTEXT file uses. These extensions will
also work in your display screens mentioned below.
Screens:
There are 3 Sysop created screens for this door that give
explanations for actions taken. All Screens have ANSI version with the
"G" added to the filename, or alternatively, use the @X## color macros
and use just one file. Versions 2.0+ support all PCB 14.5 macros in
the display files.
By: Lance Williams, Kadet PCBoard, (315) 245-3815, USR DS HST/V.32
PCBPage Door Page 3
NOPAGE(G): This screen is displayed if the caller is not allowed to
page at this hour. It is also displayed to users who get
the override option if they choose not to override. Users
found in the TCAN file are also shown this file when
leaving the door.
NOCHAT(G): This screen is displayed if the page times out or is user
aborted. It tells the user you were not available for
chatting at this time, but to try later.
PAGENOW(G): This screen is to notify users with security levels listed
in line #13 that they have to opportunity to force a page
with you (if the time flag in the .CFG file is "N").
Enclosed in this archive are my sample screens. Feel free to
use them or modify them as you see fit. If the system does not find
the appropriate file above in the current directory, it will leave
display a message of a similar fashion to what the screen should
display. (Just a one-liner, though...)
TCAN and ALWAYS file usage:
If you would like to keep any bothersome users from paging you
thru the PCBPage door at ANY TIME, all you have to do is to enter his
name in the "TCAN" file you can maintain in the PCBPage default
directory. Any name listed in the "TCAN" file will not be allowed to
page you.
If you have a user that you would like to be able to page you
at ANY TIME, independent of the settings in the PCBPAGE.CNF file, then
enter his name in the "ALWAYS" file. Any name listed in the "ALWAYS"
file will be allowed to page you at any time, so be careful of this
one!
The "TCAN" and "ALWAYS" filenames are hard-coded, so be sure to
get them right.
Log Files:
The door logs all activity to your PCBoard callers log. It is
set up to log to the proper file in a multi-node system. It will also
send the log output to your printer if PCBoard is so set.
Page Bell Setting:
PCBPage has no requirements for your page bell setting. But,
if you are like me, you leave it turned off and display a screen to
your users to use the page door instead. (I've enclosed my screen as
SYSPAGE.TXT, and it's designed to be used in your PCBTEXT file at
record #128, using the "%C:\pcb\gen\syschat.txt" specification. Of
course, use the path you use to store your display files in, and copy
the file "SYSCHAT.TXT" to that directory)
I guess that covers the important stuff for now. Refer to the
By: Lance Williams, Kadet PCBoard, (315) 245-3815, USR DS HST/V.32
PCBPage Door Page 4
rest of the documentation for more details.
Door Operations:
This door is called from PCBoard in one of 2 ways, depending on
if you want a seamless interface (PCB14.5a+ ONLY), or as a regular BBS
Door.
Seamless Door Interface:
You need to be running PCBoard 14.5a or NEWER to operate this
door as a seamless interface. A seamless interface is one that has no
appearance of leaving the PCBoard program to run a door from the user's
perspective. (It will not appear seamless on the local screen.)
Setting up a SHELL Door (PCBoard 14.5a+ ONLY):
To operate seamlessly, the door MUST be run as a SHELL DOOR
according to the setups in your PCBSETUP program, DOOR.LST file. There
are 3 options for the column SHELL? in the doors setup:
"N" - Do not shell, it's a normal door. (Do not use this)
"Y" - Operate as a shell door, no "opening door" prompt.
"S" - Operate as a shell door, and SWAP PCB to EMS/EXT/Disk.
(Use this for limited memory systems.)
Using the "Y" or "S" option in the SHELL column of the doors setup will
operate the door as a shell door, and make it appear as a seamless
interface. Even with an "N" the only line displayed will be the "Now
Loading PAGE....." line from your PCBText file.
Door batch file for SHELL Door:
PAGE door batch file:
e:
cd \doors\chat
pcbpage pcbpage.cnf c:\pcb
c:
cd \pcb
The command line parameters are:
pcbpage.cnf <-- Your configuration file for the door.
c:\pcb <-- Location of this node's PCBoard data files
(PCBOARD.SYS & PCBOARD.DAT)
Note that the file does not end with a command to re-run your BOARD.BAT
file. This is because you are operating as a shell door. You don't
even need an exit, since PCBoard will exit the shell at the end of the
batch file automatically. It will even return to the C:\PCB directory
automatically, but I like to be sure of things.
By: Lance Williams, Kadet PCBoard, (315) 245-3815, USR DS HST/V.32
PCBPage Door Page 5
Normal Door Interface :
(PCBoard 14.0 - 14.5 and all other BBS Programs)
Running under PCBoard as a normal door would only require that
you add one line to your door batch file to return the system to
PCBoard after leaving the door (BOARD). IE:
PAGE door batch file:
e:
cd \doors\chat
pcbpage pcbpage.cnf c:\pcb
c:
cd \pcb
board
The command line parameters are:
pcbpage.cnf <-- Your configuration file for the door.
c:\pcb <-- Location of this node's PCBoard data files
(PCBOARD.SYS & PCBOARD.DAT)
Registration:
This door represents many hours of work. You are allowed to
use it for a trial period of 30 days to see if it fits your needs. If
you continue to use it after that point you are required to register
it. The registration is only $15, and considering the time it will
save you answering useless pages, it's well worth the money.
Send in the registration form in the file REGISTER.TXT to
register the door. Send the registration form to:
Lance Williams
P. O. Box 266
Camden, NY 13316-0266
By: Lance Williams, Kadet PCBoard, (315) 245-3815, USR DS HST/V.32